			    <!-- forms -->
				<div class="box">
					<!-- box / title -->
					<div class="title">
						<h5><?=$title?></h5>
					</div>
					<!-- end box / title -->
					<?=form_open('billing-ar/printing/getReceipt')?>
					<div class="form">
                    
                        <?php if($this->session->flashdata('success')):?>
						<div id="message-success" class="message message-success">
							<div class="image">
								<img src="resources/images/icons/success.png" alt="Success" height="32" />
							</div>
							<div class="text">
								<h6>Send Email</h6>
								<span>Succesfully Generate Data, Data Has been Export to Pdf !</span>
							</div>
							<div class="dismiss">
									<a href="#message-success"></a>
							</div>
						</div>
						<?php elseif($this->session->flashdata('error')):?>
						<div id="message-error" class="message message-error">
								<div class="image">
									<img src="resources/images/icons/error.png" alt="Error" height="32" />
								</div>
								<div class="text">
									<h6>Send Email</h6>
									<span>Error Generate Data, Data Not Found !</span>
								</div>
								<div class="dismiss">
									<a href="#message-error"></a>
								</div>
						</div>
						<?php endif;?>
                    
						<div class="fields">
							<div class="field  field-first">
								<div class="label">
									<label for="select"><?=lang('customer')?></label>
								</div>
								<div class="select">
									<?=form_dropdown('customer',$customers,$cust)?>
								</div>
							</div>
                            
                            <div class="field">
								<div class="label">
									<label for="date"><?=lang('date')?></label>
								</div>
								<div class="input">
                                    <?=form_dropdown('month',config('month'),$month)?>
                                    <?=form_dropdown('year',config('year'),$year)?>
								</div>
							</div>
							
							<div class="field">
								<div class="label">
									<label for="date"><?=lang('currency')?></label>
								</div>
								<div class="input">
                                    <?=form_dropdown('curr',config('currency'),$curr)?>
								</div>
							</div>
							
							<div class="buttons">
								<input type="submit" name="submit" value="<?=lang('process')?>" />
								<input type="reset" name="reset" value="<?=lang('reset')?>" />
							</div>
						</div>
					</div>
					<?=form_close();?>
				</div>
				<!-- end forms -->
                
                <?php if($cust!='-'):?>
				<!-- table -->
				<div class="box">
                <?php if(empty($receipt)):?>
						<div id="message-error" class="message message-error">
								<div class="image">
									<img src="resources/images/icons/error.png" alt="Error" height="32" />
								</div>
								<div class="text">
									<h6>Error!</h6>
									<span>Error No Data Found !</span>
								</div>
								<div class="dismiss">
									<a href="#message-error"></a>
								</div>
						</div>
                <?php else:?>
					<!-- box / title -->
					<div class="title">
						<h5>
                        <?=$title?>
                        <?php 
                            if(isset($month))
                                echo 'Periode Bulan '.$month." Tahun ".$year; 
                         ?>       
                        </h5>
					</div>
					<!-- end box / title -->
					<div class="table">
						<?=form_open('billing-ar/printing/getPdfReceipt')?>
						<table>
							<thead>
								<tr>
									<th class="left"><?=lang('title')?></th>
									<th><?=lang('information')?></th>
								</tr>
							</thead>
							<tbody>
								<tr>
                                    <td class="price">
                                    <?php if($approval==0) $appr="Draft";
                                          else $appr="Kwitansi"; ?>
                                    <?=$appr?>      
                                    </td>
									<td class="title"><?=$receipt;?></td>
									
								</tr>
                                <tr>
                                    <td class="price">Telah Diterima dari</td>
									<td class="title"><?=$customer?></td>
									
								</tr>
                                <tr>
                                    <td class="price">Sejumlah</td>
									<td class="title"><?=$total?></td>
									
								</tr>
                                <tr>
                                    <td class="price">Terbilang</td>
									<td class="title"><?=$calc?></td>
									
								</tr>
                                <tr>
                                    <td class="price">Untuk Pembayaran</td>
									<td class="title">Pemakaian Gas Periode Tanggal <?=$item_line?></td>
									
								</tr>
							</tbody>
						</table>
						<!-- table action -->
						<div class="action">
							<select name="export">
								<option value="print" class="locked"><?=lang('print')?></option>
							</select>
							<div class="button">
								<input type="submit" name="submit" value="<?=lang('ok')?>" />
							</div>
						</div>
						<!-- end table action -->
						<?=form_close()?>
					</div>
                    <?php endif;?>
				</div>
                <?php endif;?>
				<!-- end table -->